﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Gl_mes.DAL.MesDB
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("prod_price_detail")]
    [Table("prod_price_detail")]
    public partial class Prod_price_detail
    {
        public Prod_price_detail()
        {


        }
        /// <summary>
        /// Desc: ID
        /// Default:
        /// Nullable:True
        /// </summary>         
        [SugarColumn(IsPrimaryKey = true)]
        public Guid? id { get; set; }

        /// <summary>
        /// Desc: 主表对应ID
        /// Default:
        /// Nullable:True
        /// </summary>           
        public Guid? prod_price_project_id { get; set; }

        /// <summary>
        /// Desc: 适用最小订单数量
        /// Default:
        /// Nullable:True
        /// </summary>           
        public decimal? qty_min { get; set; }

        /// <summary>
        /// Desc:适用最大订单数量 
        /// Default:
        /// Nullable:True
        /// </summary>           
        public decimal? qty_max { get; set; }

        /// <summary>
        /// Desc: 适用长度最小长度
        /// Default:
        /// Nullable:True
        /// </summary>           
        public decimal? len_min { get; set; }

        /// <summary>
        /// Desc: 适用长度最大长度
        /// Default:
        /// Nullable:True
        /// </summary>           
        public decimal? len_max { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public decimal? price { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? begindate { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? enddate { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string remark { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? create_time { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? create_userid { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string create_username { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? last_modifty_time { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? last_modifty_userid { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string last_modifty_username { get; set; }

    }
}
